package com.pshcp.common.enums;

/**
 * @Description: 附件类型
 * @Author: xiaoche
 * @Date: 2022/11/3 23:56
 */
public enum FileEnum {
    //医生文章
    TYPE_0(0, "article"),
    //医生头像
    TYPE_1(1, "doctorhead"),
    /**
     * 患者头像
     */
    TYPE_2(2, "patienthead"),
    //banner
    TYPE_3(3, "banner"),
    TYPE_4(4, "diagnosis"),
    TYPE_5(5, "qrcode"),
    ;

    private Integer code;
    private String path;

    FileEnum(Integer code, String path) {
        this.code = code;
        this.path = path;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
